<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,Chrome=1">
    <!-- Google Chrome Frame也可以让IE用上Chrome的引擎: -->
    <meta name="renderer" content="webkit">
    <!--国产浏览器高速模式-->
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>小米后台管理系统</title>

    <!-- 公共样式 开始 -->
    <!--显示框图标-->
    <link rel="shortcut icon" href="${pageContext.servletContext.contextPath}/images/logo.jpg"/>
    <link rel="stylesheet" type="text/css" href="${pageContext.servletContext.contextPath}/st/back/css/base.css">
    <link rel="stylesheet" type="text/css" href="${pageContext.servletContext.contextPath}/st/back/css/iconfont.css">
    <script type="text/javascript"
            src="${pageContext.servletContext.contextPath}/st/back/framework/jquery-1.11.3.min.js"></script>
    <link rel="stylesheet" type="text/css" href="${pageContext.servletContext.contextPath}/st/back/layui/css/layui.css">
    <!--[if lt IE 9]>
    <script src="${pageContext.servletContext.contextPath}/st/back/framework/html5shiv.min.js"></script>
    <script src="${pageContext.servletContext.contextPath}/st/back/framework/respond.min.js"></script>
    <![endif]-->
    <script type="text/javascript" src="${pageContext.servletContext.contextPath}/st/back/layui/layui.js"></script>
    <!-- 滚动条插件 -->
    <link rel="stylesheet" type="text/css"
          href="${pageContext.servletContext.contextPath}/st/back/css/jquery.mCustomScrollbar.css">
    <script src="${pageContext.servletContext.contextPath}/st/back/framework/jquery-ui-1.10.4.min.js"></script>
    <script src="${pageContext.servletContext.contextPath}/st/back/framework/jquery.mousewheel.min.js"></script>
    <script src="${pageContext.servletContext.contextPath}/st/back/framework/jquery.mCustomScrollbar.min.js"></script>
    <script src="${pageContext.servletContext.contextPath}/st/back/framework/cframe.js"></script><!-- 仅供所有子页面使用 -->
    <!-- 公共样式 结束 -->

    <link rel="stylesheet" type="text/css" href="${pageContext.servletContext.contextPath}/st/back/css/frameStyle.css">
    <script type="text/javascript" src="${pageContext.servletContext.contextPath}/st/back/framework/frame.js"></script>

</head>

<body>
<!-- 左侧菜单 - 开始 -->
<div class="frameMenu">
    <div class="logo">
        <img src="${pageContext.servletContext.contextPath}/images/logo.jpg"/>
        <div class="logoText">
            <h1>小米后台管理</h1>
            <p>XiaoMi_Back_system</p>
        </div>
    </div>
    <div class="menu">
        <ul>
            <li>
                <a class="menuFA" href="javascript:void(0)"
                   onclick="menuCAClick('${pageContext.servletContext.contextPath}/back/index',this)"><i
                        class="iconfont icon-xianshiqi left"></i>首页</a>
            </li>
            <li>
                <a class="menuFA" href="javascript:void(0)"><i class="iconfont icon-shangpin left"></i>商品管理<i
                        class="iconfont icon-dajiantouyou right"></i></a>
                <dl>
                    <dt><a href="javascript:void(0)"
                           onclick="menuCAClick('${pageContext.servletContext.contextPath}/getComm',this)">所有商品描述</a>
                    </dt>
                    <dt>
                        <a href="javascript:void(0)"
                           onclick="menuCAClick('${pageContext.servletContext.contextPath}/GetComm',this)">在售商品详情</a>
                    </dt>
                    <dt>
                        <a href="javascript:void(0)"
                           onclick="menuCAClick('${pageContext.servletContext.contextPath}/shelvesComm',this)">下架商品详情</a>
                    </dt>
                    <dt><a href="javascript:void(0)"
                           onclick="menuCAClick('${pageContext.servletContext.contextPath}/getCartRedcomm',this)">加购商品推荐</a>
                    </dt>
                    <dt><a href="javascript:void(0)"
                           onclick="menuCAClick('${pageContext.servletContext.contextPath}/GoUpComm',this)">添加商品</a>
                    </dt>
                </dl>
            </li>
            <li>
                <a class="menuFA" href="javascript:void(0)"><i class="iconfont icon-yunying left"></i>广告管理<i
                        class="iconfont icon-dajiantouyou right"></i></a>
                <dl>
                    <dt><a href="javascript:void(0)"
                           onclick="menuCAClick('${pageContext.servletContext.contextPath}/selectAd',this)">广告列表</a>
                    </dt>
                </dl>
            </li>
            <li>
                <a class="menuFA" href="javascript:void(0)"><i class="iconfont icon-caiwu left"></i>订单管理</a>
                <dl>
                    <dt><a href="javascript:void(0)"
                           onclick="menuCAClick('${pageContext.servletContext.contextPath}/DailySales',this)">销售额</a>
                    </dt>
                    <dt><a href="javascript:void(0)"
                           onclick="menuCAClick('${pageContext.servletContext.contextPath}/OrderAll',this)">订单列表</a>
                    </dt>
                </dl>
            </li>
            <li>
                <a class="menuFA" href="javascript:void(0)">
                    <i class="iconfont icon-liuliangyunpingtaitubiao03 left"></i>用户管理
                    <i class="iconfont icon-dajiantouyou right"></i>
                </a>
                <dl>
                    <dt>
                        <a href="javascript:void(0)" onclick="menuCAClick('${pageContext.servletContext.contextPath}/LoginUser',this)">今日登陆用户</a>
                    </dt>
                    <dt>
                        <a href="javascript:void(0)" onclick="menuCAClick('${pageContext.servletContext.contextPath}/allUser',this)">查看正常用户</a>
                    </dt>
                    <dt>
                        <a href="javascript:void(0)" onclick="menuCAClick('${pageContext.servletContext.contextPath}/allUnseal',this)">查看冻结用户</a>
                    </dt>
                </dl>
            </li>
        </ul>
    </div>
</div>
<!-- 左侧菜单 - 结束 -->

<div class="main">
    <!-- 头部栏 - 开始 -->
    <div class="frameTop">
        <img class="jt" src="${pageContext.servletContext.contextPath}/st/back/images/top_jt.png"/>
        <div class="topMenu">
            <ul>
                <li><a href="javascript:void(0)"
                       onclick="menuCAClick('${pageContext.servletContext.contextPath}/Info_back',this)"><i
                        class="iconfont icon-yonghu1"></i>${business.bname}</a></li>
                <li><a href="javascript:void(0)"
                       onclick="menuCAClick('${pageContext.servletContext.contextPath}/ToPassword',this)"><i
                        class="iconfont icon-xiugaimima"></i>修改密码</a></li>
                <li><a href="${pageContext.servletContext.contextPath}/Back_remove"><i
                        class="iconfont icon-084tuichu"></i>注销</a></li>
            </ul>
        </div>
    </div>
    <!-- 头部栏 - 结束 -->

    <!-- 核心区域 - 开始 -->
    <div class="frameMain">
        <div class="title" id="frameMainTitle">
            <span><i class="iconfont icon-xianshiqi"></i>首页</span>
        </div>
        <div class="con">
            <iframe id="mainIframe" src="${pageContext.servletContext.contextPath}/back/index" scrolling="no"></iframe>
        </div>
    </div>
    <!-- 核心区域 - 结束 -->
</div>
</body>

</html>